﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataSetEsquemaAppCeiiTableAdapters;

/// <summary>
/// Descripción breve de InstitucionBLL
/// </summary>
public class InstitucionBLL
{
    public InstitucionBLL() { }

    //conexion con base de datos EscorpiusTour
    private INSTITUCIONTableAdapter _iAdapter = null;
    protected INSTITUCIONTableAdapter Adapter
    {
        get
        {
            if (_iAdapter == null)
                _iAdapter = new INSTITUCIONTableAdapter();

            return _iAdapter;
        }
    }

    [System.ComponentModel.DataObjectMethodAttribute
    (System.ComponentModel.DataObjectMethodType.Select, true)]
    public DataSetEsquemaAppCeii.INSTITUCIONDataTable selectById(int id)
    {
        return Adapter.GetDataById(id);
    }
}
